home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tspa3150.zip / TSPAS.SUM < prev    next >
Text File  |  1992-11-08  |  10KB  |  206 lines

  1. Sun 8-November-1992
  2.  
  3. Summary of the Functions and Procedures in the TSPAxx## Package
  4.  
  5. Functions are indicated by the ending FN, the procedures by the lack
  6. of it.
  7.  
  8. TSUNTA: (uses Dos, Crt, TSUNTE)
  9.   ATTRIBFN Color attribute for direct write to video memory
  10.   HIGHTFN  Current height of text screen
  11.   PANML    Scroll screen left
  12.   PANMR    Scroll screen right
  13.   VDAEXYFN Direct read of a screen video memory color attribute
  14.   VDCHXY   Direct read from the screen video memory
  15.   VIDXY    Direct write to the screen video memory
  16.   WIDTHFN  Current width of the text screen
  17.  
  18. TSUNTB: (uses Dos)
  19.   BBINFN   Convert decimal byte to binary string
  20.   BHEXFN   Convert decimal byte to hexadecimal string
  21.   BINDECFN Convert binary string to decimal word
  22.   BINFN    Convert decimal word to binary string
  23.   BITONFN  Boolean status of a bit in a word
  24.   BTEWRDFN Combine two bytes into a single word, inverse of Hi & Lo
  25.   CONVBFN  Convert a number (string) of any base to any other base
  26.   HEXDECFN Convert hexadecimal string to decimal word
  27.   HEXFN    Convert decimal word to hexadecimal string
  28.   HEXLNGFN Convert hexadecimal string to decimal longint up to 7FFFFFFF
  29.   HIWORDFN The high-order (hi) word of the longint argument
  30.   LBINFN   Convert decimal longint to binary string
  31.   LHEXFN   Convert decimal longint to hexadecimal string
  32.   LOWORDFN The low-order (lo) word of the longint argument
  33.   POWERFN  Conventional raising of a positive real to a power
  34.   POWERGFN Generalized raising of any real to a real power
  35.   POWERLFN Raise longint to a non-negative integer power fast
  36.   R16TOFN  Sixteen to a power fast (word)
  37.   TICKSFN  Count of 18.2 times per second ticks (longint)
  38.   TIMERFN  Seconds elapsed since midnight (real)
  39.   TWOTOFN  Two to a power fast (word)
  40.   WRDLNGFN Combine two words into a longint
  41.  
  42. TSUNTC: (uses Dos, Crt)
  43.   HIBACK   Enable hi-intensity (bright) background colors
  44.   PLAYNOTE Play a note
  45.   REVCOLOR Reverse text colors (a toggle)
  46.  
  47. TSUNTD: (uses Dos)
  48.   AUDIO    Enhanced Sound procedure, no Crt unit needed
  49.   DOSDELAY Delay without needing the Crt unit
  50.   GETPRTFN Get the number of printer default timeout retry times
  51.   LEADFN   Lead a string with a multiple character (i.e. pad left)
  52.   LOWCASFN The opposite of UpCase (inline coded)
  53.   LPTONLFN Get the online status of the first parallel printer
  54.   PARSE    Extract all substrings from a string faster (1st method)
  55.   PARSENFN Number of substrings in a string (resembles ParamCount)
  56.   PARSERFN Get substrings from a string (resembles ParamStr)
  57.   PRTONLFN Get the online status of a printer (may fail)
  58.   PRTSCR   Print the current screen
  59.   SETPRT   Set the number of default printer timeout retry times
  60.   SPARTFN  Returns a specified substring (resembles ParamStr)
  61.   STRCNTFN Number of substrings in a string (resembles ParamCount)
  62.   TRAILFN  Trail a string with a multiple character (i.e. pad right)
  63.   TRIMLFFN Trim a string left
  64.   TRIMRGFN Trim a string right
  65.  
  66. TSUNTE: (uses Dos)
  67.   ALLSIZFN Allocated true size of a file in bytes
  68.   ARCFILFN Is a file's archive bit set or not
  69.   BORDER   Change border color (CGA, VGA)
  70.   CAPS     Turn CapsLock on, or off
  71.   CAPSONFN Get CapsLock status
  72.   CLB      Clear the keyboard buffer
  73.   CLUSIZFN Cluster size on a device (cluster is the allocation unit)
  74.   CMDLNFN  Returns the entire command line
  75.   CURSOFF  Turn off cursor (keeps other cursor attributes)
  76.   CURSON   Turn cursor back on as it was
  77.   CURSOR   Change cursor size
  78.   DATEOKFN Is a date a valid, existing date
  79.   DEFDRVFN Get the default drive
  80.   FEXISTFN File existence status, handles ReadOnly files correctly
  81.   FSIZE2FN File size in bytes, alternative method
  82.   FSIZEFN  File size in bytes as in directory (never on open file)
  83.   HIDFILFN Is a file a hidden file or not
  84.   LABELFN  Get a disk's volume label
  85.   LASTDMFN The number of days in a given month and year
  86.   MONOFN   Is it a monochrome video adapter
  87.   NUMLOCK  Turn NumLock on, or off
  88.   NUMLONFN Get NumLock status
  89.   RDOFILFN Is a file a read-only file or not
  90.   SCRLOCK  Turn ScrollLock on, or off
  91.   SCRLONFN Get ScrollLock status
  92.   SYSFILFN Is a file a system file or not
  93.   WEEKNRFN Returns the week number for a given date
  94.   WKDAYFN  Returns modern weekday
  95.   ZELLERFN Zeller's congruence (for comparing dates etc)
  96.  
  97. TSUNTF: (uses Dos, Crt)
  98.   EDRDEBLN Editable Readln with ctrl-c, break trapping, pre-fill etc
  99.   EDRDEFLN Editable Readln with recall, pre-fill, and insert toggle
  100.   EDRDLN   Readln with line-editing potential (the simplest)
  101.   EDREABLN Edreadln with ctrl-c and break trapping
  102.   EDREADLN Editable Readln with recall, and insert toggle
  103.  
  104. TSUNTG: (uses Dos)
  105.   ACTDRVFN Which floppy drive is active on a one drive system
  106.   ALTFN    Is the alt key depressed
  107.   CLS      Set 25*80 text mode and clear screen (no Crt required)
  108.   CLS40    Set 25*40 text mode and clear screen (no Crt required)
  109.   COLDBOOT Reboot computer, including memory tests
  110.   CTRLFN   Is the ctrl key depressed
  111.   DRIVESFN Number of diskette drives on the system
  112.   DSKCNTFN Get the number of disk devices (MsDos 3.0+)
  113.   FDRIVEFN The name of the first diskette drive on the system
  114.   FIXEDFN  Is a drive a fixed disk or not
  115.   FLOPSTFN Floppy disk status. Is it present and formatted.
  116.   GETESCAN Get scancode of key pressed, enhanced keyboard.
  117.   GETSCAN  Get scancode of key pressed, XT keyboard.
  118.   GOATXY   As the ordinary GoToXY but no Crt unit required
  119.   INDRIVFN Is a media present in the given drive
  120.   INKEYFN  Basic-like timed character input
  121.   ISANSIFN Has ansi.sys or a similar screen driver been loaded
  122.   ISUBSTFN Is a drive a substituted drive (MsDos 3.1+)
  123.   KEYPREFN As the ordinary KeyPressed but no Crt unit required
  124.   LFALTFN  Is the left alt key depressed
  125.   LFCTRLFN Is the left ctrl key depressed
  126.   LFSHFTFN Is the left shift key depressed
  127.   MEDIAFN  What kind of a disk media is present in a drive
  128.   RDENKEFN Enhanced keyboard ReadKey, detects also F11 and F12
  129.   READKEFN As the ordinary ReadKey but no Crt unit required
  130.   REVAREA  Reverse the colors of an area
  131.   RTALTFN  Is the right alt key depressed
  132.   RTCTRLFN Is the right ctrl key depressed
  133.   RTSHFTFN Is the right shift key depressed
  134.   SYSRQFN  Is the SysRq key depressed
  135.   USECON   Restore write and writeln direction to the screen
  136.   USEPRN   Redirect write and writeln to the printer
  137.   WARMBOOT Warm reboot of the computer (as alt-ctrl-del)
  138.   WHEREXFN As the ordinary WhereX but no Crt unit required
  139.   WHEREYFN As the ordinary WhereY but no Crt unit required
  140.  
  141. TSUNTH: (uses Dos)
  142.   CHIPFN   Get the type of the processor chip (volatile, don't trust)
  143.   COUNTRFN Get country code (MsDos 3.0+)
  144.   DATEFMFN Country-dependent date format (MsDos 3.0+)
  145.   FATSFN   Get number of file allocation tables, not XTs
  146.   GRTABLFN Has MsDos GRAFTABL been loaded or not
  147.   INTERLFN Get interleave coefficient of a harddisk, not XTs
  148.   ISENHAFN To detect an enhanced keyboard
  149.   ISMOUSFN A simple true/true false test of mouse available
  150.   LASTDRFN Get last drive of the system, softcoded, not XTs
  151.   MATHCOFN Is a math coprocessor present
  152.   MOUSTAFN Status (type byte) of the mouse hardware and driver
  153.   NRCYLFN  Number of cylinders on a drive if media present (MsDos 3.2+)
  154.   PARPORFN Get the number of parallel ports (printers installed)
  155.   ROMDTEFN Get ROM BIOS version (date)
  156.   RS232FN  Get the number of serial ports
  157.   TIMEFMFN Country-dependent time format (MsDos 3.0+)
  158.   Z2ASZFN  Convert an Asciiz string into an ordinary ascii string
  159.  
  160. TSUNTI: (uses Dos)
  161.   BRANDEXE Store information within your program's .exe file (MsDos 3.0+)
  162.   CHKSUMFN Checksum selftest to detect any tampering (MsDos 3.0+)
  163.   USECOUNT Get the number of times the program has been used
  164.  
  165. TSUNTJ: (uses Dos)
  166.   COPYFILE Copy a file from within a Turbo Pascal program
  167.   INTRADDR Show the memory address to which the interrupt points
  168.   INTRLOCA Show the memory address where the interrupt is located
  169.   ISDIRFN  Is a name a directory or not (not for DRDOS)
  170.   ISDIR2FN Is a name a directory or not, alternative method
  171.   OPENEDFN Is an assigned textfile still open or not
  172.   PIPEDIFN Is the standard input from redirection
  173.   PIPEDNFN Is the standard output redirected to nul
  174.   PIPEDOFN Is the standard output redirected
  175.  
  176. TSUNTK: (uses Dos, TSUNTB)
  177.   BOOTDRFN Get boot device name (MsDos 4.0+)
  178.   GETSERFN Get disk's serial number (MsDos 4.0+)
  179.   GETVOLFN Special get disk volume label (MsDos 4.0+)
  180.   SETSER   Set floppy's serial number (MsDos 4.0+)
  181.  
  182. TSUNTENV: (uses Dos)
  183.   ENVADDFN Get the starting segment address of the parent environment
  184.   ENVSIZFN Get the size of the parent environment
  185.   ENVUSEFN Get the current use of the parent environment
  186.   SETENV   Set a parent environment variable (variable=value)
  187.   SETENVSH Set an environment variable for the duration of shelling
  188.   SHOWENV  Write the parent environment table on stdout (for testing)
  189.  
  190. SELFTEST.PAS: (uses Dos)
  191.   SELFTEST Selftest .exe file's size and date to detect tampering
  192.  
  193. TSUNT45: (Uses Dos)  (Needed for TP 4.0 only)
  194.   DosVersion Get Dos version
  195.   EnvCount   The number of strings contained in the DOS environment
  196.   EnvStr     The value of an environment string defined by index count
  197.   FExpand    Expand a file name into a fully qualified file name
  198.   GetCBreak  Get the state of Ctr-Break checking in DOS
  199.   GetEnv     The value of an environment string defined by string id
  200.   GetVerify  Get the status of the MsDos write verify flag
  201.   ParamStr0  The name of the program
  202.   SetCBreak  Set the state of Ctr-Break checking in DOS
  203.   SetVerify  Set the status of the MsDos write verify flag
  204.  
  205. TSERR: (Include verbal run-time error messages)
  206.